package com.itheima.test8;

/**
 * @Author:gy
 * @Date: 2025/09/06 16:00
 * @Description:
 */
public @interface Anno1 {
    //定义一个基本数据类型的属性
    public int a() default 1;
    //定义一个String类型
    String name() default "itheima";
    String name1();
    //定义一个Class类型属性
    public Class clazz() default Anno1.class;
    //定义一个注解
    public Anno2 anno2() default @Anno2;
    //定义一个枚举
    public Season season() default Season.SPRING;
    //定义数据 int
    public int[] arr() default {1, 2, 3};
    //定义一个枚举数组
    public Season[] seasons() default {Season.SPRING,Season.SUMMER};
    public String value1();
}
